<!--日志分类-->
<div class="widget_title">日志分类</div>
<ul>
  <% @categories.each do |category| %>
    <li><%= link_to category.name, category %> (<%= category.posts_count %>)</li>
  <% end %>
</ul>
